package com.koron.order.orderAsset.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class OrderAsset {

    @NotBlank(message = "id不能为空")
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "工单资产编号")
    private String code;

    @ApiModelProperty(value = "设备类型id")
    private String typeId;

    @ApiModelProperty(value = "设备类型名称")
    private String typeName;

    @ApiModelProperty(value = "缺陷关键字")
    private String keys;

    @ApiModelProperty(value = "缺陷关键字id")
    private String keysId;

    @ApiModelProperty(value = "故障描述(缺陷描述)")
    private String errorDesc;

    @ApiModelProperty(value = "故障原因(缺陷原因)")
    private String errorCase;

    @ApiModelProperty(value = "处理方式(维护内容)")
    private String solution;

    @ApiModelProperty(value = "来源(所属水司)")
    private String source;

    @ApiModelProperty(value = "创建类型(自动、手动创建)")
    private Integer creationMode;

    @ApiModelProperty(value = "创建类型id(模块id)")
    private String creationModeId;

    @ApiModelProperty(value = "创建人账号")
    private String createBy;

    @ApiModelProperty(value = "创建人")
    private String createByName;

    @ApiModelProperty(value = "工单创建时间")
    private Date createTime;

    @ApiModelProperty(value = "删除标识：0未删除，1已删除", allowableValues = "0,1")
    private Integer deleteFlag;

}
